<%--
  Created by IntelliJ IDEA.
  User: mjones
  Date: May 11, 2010
  Time: 10:04:37 PM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head><title>Simple GSP page</title>
  <meta name="layout" content="main"/></head>
<body>

<g:each in="${roundTotals}" status="i" var="rt">
  <p class="profileText">${rt.title}: <g:if test="${rt?.kukuiNutsTotal == [null]}">0</g:if>
  <g:else>${rt?.kukuiNutsTotal}</g:else>

</g:each>

<%--      <table>
      <thead>
            <tr>
        <td><b>Rank</b></td>
        <td><b>Building</b></td>
        <td><b>Floor</b></td>
        <td><b>KukuiNuts</b></td>

      </tr>
<g:each in="${results}" status="i" var="rs">


      <tr>
  <td>${i + 1}</td>
        <td>${rs.building}</td>
        <td>${rs.floor}</td>
        <td>${rs.sum}</td>
  </tr>



</g:each>
          </table> --%>
</body>
</html>